/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ControlEscolar.Beans;

import java.sql.Date;



/**
 *
 * @author Rodna Marrufo
 */
public class Enrollment {

    private String subjectKey;
    private int ID_Professor;
    private String studentKey;
    private Date dates;
    private String state;
    private int ID_Curriculum;
    private String groupName;
    private int semester;


    /**
     * @return the subjectKey
     */
    public String getSubjectKey() {
        return subjectKey;
    }

    /**
     * @param subjectKey the subjectKey to set
     */
    public void setSubjectKey(String subjectKey) {
        this.subjectKey = subjectKey;
    }

    /**
     * @return the ID_Professor
     */
    public int getID_Professor() {
        return ID_Professor;
    }

    /**
     * @param ID_Professor the ID_Professor to set
     */
    public void setID_Professor(int ID_Professor) {
        this.ID_Professor = ID_Professor;
    }

    /**
     * @return the studentKey
     */
    public String getStudentKey() {
        return studentKey;
    }

    /**
     * @param studentKey the studentKey to set
     */
    public void setStudentKey(String studentKey) {
        this.studentKey = studentKey;
    }

    /**
     * @return the date
     */
    public Date getDates() {
        return dates;
    }

    /**
     * @param date the date to set
     */
    public void setDates(Date date) {
        this.dates=date;
    }

    /**
     * @return the state
     */
    public String getState() {
        return state;
    }

    /**
     * @param state the state to set
     */
    public void setState(String state) {
        this.state = state;
    }

    /**
     * @return the ID_Curriculum
     */
    public int getID_Curriculum() {
        return ID_Curriculum;
    }

    /**
     * @param ID_Curriculum the ID_Curriculum to set
     */
    public void setID_Curriculum(int ID_Curriculum) {
        this.ID_Curriculum = ID_Curriculum;
    }

    /**
     * @return the groupName
     */
    public String getGroupName() {
        return groupName;
    }

    /**
     * @param groupName the groupName to set
     */
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

     public String toString(){
        return "\tsubjectKeyr= "+getSubjectKey()+
                "\tID_Professor= "+getID_Professor()+
                "\tstudentKey= "+getStudentKey()+
                "\tdate= "+getDates()+
                "\tstate= "+getState()+
                "\tID_Curriculum= "+getID_Curriculum()+
                "\tgroupName= "+getGroupName()+
                "\tsemester ="+ this.getSemester();


    }

    /**
     * @return the semester
     */
    public int getSemester() {
        return semester;
    }

    /**
     * @param semester the semester to set
     */
    public void setSemester(int semester) {
        this.semester = semester;
    }

   


   
}
